<?php

namespace App\VO\Stock\MetaInfo;

use App\BO\PropertyAccessAndSetBO;
use App\Meta\OrderPeriodDate;

class StockFactory
{
    /**
     * @param OrderPeriodDate $orderPeriodDate
     * @return ServiceDateTimeInfo
     */
    public static function getServiceDateTimeInfo(OrderPeriodDate $orderPeriodDate)
    {
        return PropertyAccessAndSetBO::sync($orderPeriodDate, new ServiceDateTimeInfo());
    }
}
